﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PEAnalyzer.ModeView.PEInfoPage
{
    internal class ExportFunctionModeView : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;

        private string m_strName;

        public string Name
        {
            get => m_strName;
            set
            {
                m_strName = value;
                this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("Name"));
            }
        }

        private UInt64 m_uSerialNumber;
        public UInt64 SerialNumber
        {
            get => m_uSerialNumber;
            set
            {
                m_uSerialNumber = value;
                this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("SerialNumber"));
            }
        }

        private UInt64 m_uAddress;
        public UInt64 Address
        {
            get => m_uAddress;
            set
            {
                m_uAddress = value;
                this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("Address"));
            }
        }
    }
}
